import java.awt.AWTException;
import java.awt.PopupMenu;
import java.awt.SystemTray;
import java.awt.TrayIcon;
import java.net.URL;
import java.util.ArrayList;

import javax.swing.ImageIcon;

public class odbcSysTray {
	
	public odbcSysTray(String[] odbc) {
		SystemTray tray = SystemTray.getSystemTray();
		URL imageURL = odbcSysTray.class.getResource("images/teradata.jpg");
		TrayIcon trayIcon = new TrayIcon ((new ImageIcon(imageURL)).getImage());
		
		try {
			tray.add(trayIcon);
		} catch (AWTException e) {
			e.printStackTrace();
		}
		
		PopupMenu popup = new PopupMenu();
		
		ArrayList<OdbcMenuItem> popupMenuItems = new ArrayList<OdbcMenuItem>();
		
		for (String o : odbc) { 
			popupMenuItems.add(new OdbcMenuItem(o));
		}
		
		
	
		
	}
	
}
